package com.nuc.wxh.vaccine_appointment.vaccines.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.nuc.wxh.vaccine_appointment.base.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 疫苗预约详细情况
 * </p>
 *
 * @author 王鑫浩
 * @since 2021-03-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="VaccineAppointment对象", description="疫苗预约详细情况")
public class VaccineAppointment extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "接种者ID")
    private String vaccinatorId;
    @ApiModelProperty(value = "接种者姓名")
    private String vaccinatorName;

    @ApiModelProperty(value = "疫苗ID")
    private String vaccineId;
    @ApiModelProperty(value = "疫苗名称")
    private String vaccineName;
    @ApiModelProperty(value = "预约日期")
    private Date adate;

    @ApiModelProperty(value = "医院ID")
    private String hospitalId;
    @ApiModelProperty(value = "医院名称")
    private String hospitalName;

    @ApiModelProperty(value = "医生ID")
    private String doctorId;

    @ApiModelProperty(value = "所属用户id")
    private String sysUserId;

    @ApiModelProperty(value = "疫苗编码")
    private String vaccineIdcard;

    @ApiModelProperty(value = "接种者反馈")
    private String feedback;

    @ApiModelProperty(value = "0为取消预约，1为预约中，2为医生设置已接种，3为用户确认完成，-1为已过期")
    private Integer isState;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @TableLogic
    private Integer isDeleted;


}
